package com.dawn.socket;

public class Content {

	// private String value;
	private byte[] value;

	private int length;

	public byte[] getByteValue() {
		return value;
	}

	public void setValue(String value, int length) {
		this.value = DataUtil.byteFormat(value, length);
	}

	public void setValue(int value) {
		this.value = DataUtil.byteFormat(value);
	}

	public int getLength() {
		return length;
	}
}
